Total Complexity | 161 |
Dependencies | 14 |
Dependents | 6 |
Total lines | 1,151 |
Lines of code | 578 |
Logical lines of code | 330 |
Comment lines | 400 |
Methods | 42 |
Properties | 11 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
ip_is_allowed() | 51 | 14 | 25 | |
protect_call() | 40 | 11 | 57 | |
get_protect_key() | 45 | 8 | 43 | |
kill_login() | 51 | 9 | 25 | |
check_login_ability() | 53 | 8 | 24 | |
maybe_update_headers() | 56 | 8 | 16 | |
maybe_display_security_warning() | 55 | 7 | 18 | |
initialize() | 61 | 6 | 13 | |
is_current_ip_allowed() | 56 | 5 | 19 | |
get_local_host() | 56 | 5 | 18 | |
check_api_key() | 58 | 5 | 16 | |
check_preauth() | 62 | 5 | 11 | |
admin_jetpack_manage_notice() | 48 | 2 | 48 | |
deactivate_plugin() | 59 | 4 | 14 | |
log_failed_attempt() | 58 | 4 | 14 | |
get_headers() | 52 | 3 | 28 | |
__construct() | 54 | 3 | 19 | |
on_activation() | 67 | 4 | 7 | |
has_login_ability() | 64 | 4 | 10 | |
get_active_plugins() | 62 | 3 | 11 | |
get_transient() | 65 | 3 | 9 | |
delete_transient() | 65 | 3 | 9 | |
set_transient() | 65 | 3 | 9 | |
on_deactivation() | 73 | 3 | 5 | |
maybe_get_protect_key() | 66 | 3 | 8 | |
block_with_math() | 65 | 2 | 9 | |
get_main_blog_jetpack_id() | 64 | 2 | 10 | |
get_main_blog_id() | 68 | 2 | 8 | |
check_use_math() | 72 | 2 | 6 | |
get_cached_status() | 67 | 2 | 8 | |
ajax_dismiss_handler() | 67 | 2 | 8 | |
enable() | 70 | 2 | 6 | |
disable() | 71 | 2 | 6 | |
prepare_jetpack_protect_multisite_notice() | 69 | 2 | 7 | |
log_successful_login() | 70 | 2 | 6 | |
instance() | 70 | 2 | 6 | |
is_enabled() | 79 | 1 | 3 | |
is_current_ip_whitelisted() | 74 | 1 | 4 | |
ip_is_whitelisted() | 74 | 1 | 4 | |
ip_allow_list_enabled() | 79 | 1 | 3 | |
get_transient_name() | 72 | 1 | 5 | |
modules_loaded() | 80 | 1 | 3 |